package com.encyclopedia.service;

import com.encyclopedia.entity.Genus;

import java.util.List;

public interface GenusService {
    List<Genus> getGenusAllByFamilyId(Integer familyId);

    Genus getGenusOneById(Integer genusId);

    Genus getGenusOneByName(String genusName);

    List<Genus> getGenusByName(String genusName);

    Integer addGenus(Genus genus);

    Integer updateGenus(Genus genus);

    Integer deleteGenus(Integer GenusId);


}
